package com.nf.health.app.models;

/**
 *是否显示右侧按钮
 * 严格按照webmolde字段统一规范
 * @author yyh
 */

public class WebModel implements BaseModel {
    public static  String WEBFLAG_TAG = "com.mengyi.webview.flag";
    private  String  id ="";//id标识
    private String url = "";//要跳转的ＵＲＬ
    private String title;//要跳转的title

    private boolean isShowRightImg1;//是否显示右侧的按钮，默认为false，不显示
    private boolean isShowRightImg2;//是否显示右侧的按钮，默认为false，不显示
    private boolean isShowRightText;//是否显示右侧的按钮，默认为false，不显示

    private Object object;//附加字段 -,可以为任何基本类型
    private Object object2;//附加字段 二
    private Object object3;//附加字段 三
    private Object object4;//附加字段 三
    private boolean isLoadHtmlLoadcalUrl =false;//是否加载是本地的url
    private boolean isUserHtmlTitle = false;//是否加载是网络上的的title ,默认不用网络上的，用本地的

    private int TAG_USER_SIGN_RIGHT1 = 0;// 对isShowRightImg1------>默认为0 :  不显示       为1：要显示分享    子字段可以向下进行扩展
    private int TAG_USER_SIGN_RIGHT2 = 0;// 对isShowRightImg2------>默认为0 :  不显示       为1：要显示搜藏        子字段可以向下进行扩展

    public boolean isUserHtmlTitle() {
        return isUserHtmlTitle;
    }

    public void setUserHtmlTitle(boolean userHtmlTitle) {
        isUserHtmlTitle = userHtmlTitle;
    }

    public String getId() {
        return id;
    }

    public Object getObject2() {
        return object2;
    }

    public void setObject2(Object object2) {
        this.object2 = object2;
    }

    public Object getObject3() {
        return object3;
    }

    public void setObject3(Object object3) {
        this.object3 = object3;
    }

    public Object getObject4() {
        return object4;
    }

    public void setObject4(Object object4) {
        this.object4 = object4;
    }

    public static String getWebflagTag() {
        return WEBFLAG_TAG;
    }

    public int getTAG_USER_SIGN_RIGHT1() {
        return TAG_USER_SIGN_RIGHT1;
    }

    public void setTAG_USER_SIGN_RIGHT1(int TAG_USER_SIGN_RIGHT1) {
        this.TAG_USER_SIGN_RIGHT1 = TAG_USER_SIGN_RIGHT1;
    }

    public int getTAG_USER_SIGN_RIGHT2() {
        return TAG_USER_SIGN_RIGHT2;
    }

    public void setTAG_USER_SIGN_RIGHT2(int TAG_USER_SIGN_RIGHT2) {
        this.TAG_USER_SIGN_RIGHT2 = TAG_USER_SIGN_RIGHT2;
    }

    public static void setWebflagTag(String webflagTag) {
        WEBFLAG_TAG = webflagTag;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public boolean isShowRightImg1() {
        return isShowRightImg1;
    }

    public void setShowRightImg1(boolean showRightImg1) {
        isShowRightImg1 = showRightImg1;
    }

    public boolean isShowRightImg2() {
        return isShowRightImg2;
    }

    public void setShowRightImg2(boolean showRightImg2) {
        isShowRightImg2 = showRightImg2;
    }

    public boolean isShowRightText() {
        return isShowRightText;
    }

    public void setShowRightText(boolean showRightText) {
        isShowRightText= showRightText;
    }

    public boolean isLoadHtmlLoadcalUrl() {
        return isLoadHtmlLoadcalUrl;
    }

    public void setLoadHtmlLoadcalUrl(boolean loadHtmlLoadcalUrl) {
        isLoadHtmlLoadcalUrl = loadHtmlLoadcalUrl;
    }

    @Override
    public void parse(String jsonString) {

    }
}
